﻿@model WebSoftSeo.Models.Consult
@using WebSoftSeo.Models
@{
    WebSoftSeoEntities db = new WebSoftSeoEntities();
    var usernamead = ViewBag.username;
    var emailad = ViewBag.email;
}
<div class="mar10 borall">
    <div class="floatl">
        <span class="floatl">
            <img src="/Areas/Admin/images/icon-48-generic.png" /></span>
        <span class="title-name">Xóa bình luận</span>
    </div>
</div>
<!--end borall-->
<div class="clear0"></div>
<div class="mar10 borall">
    <div class="div100">

        <div>

            <fieldset class="fromlist">
                <legend>Bạn có chắc muốn xóa bình luận này?</legend>
                <ul>
                    <li>
                        <label>Bình luận số</label>
                        @Html.DisplayFor(model => model.ID)
                    </li>
                    <li>
                        @Html.LabelFor(model => model.Name, "Tên người bình luận")
                        @usernamead
                    </li>
                    <li>
                        @Html.LabelFor(model => model.Email, "Email")
                        @emailad
                    </li>
                    <li>
                        @Html.LabelFor(model => model.Title, "Tiêu đề")
                        @Html.DisplayFor(model => model.Title)
                    </li>
                    <li>
                        @Html.LabelFor(model => model.Phone, "Điện thoại")
                        @Html.DisplayFor(model => model.Phone)
                    </li>
                    <li>
                        @Html.LabelFor(model => model.Contents, "Nội dung")
                        <div style="margin-left: 240px;">
                            @Html.DisplayFor(model => model.Contents)
                        </div>
                    </li>
                    <li>
                        @Html.LabelFor(model => model.Date, "Ngày")
                        @Html.DisplayFor(model => model.Date)
                    </li>
                    <li>
                        @Html.LabelFor(model => model.Status, "Status")
                        @if (Model.Status == false)
                        {
                            @:Waiting
                            
                        }
                        else
                        {
                            @:Approved
                      
                        }
                    </li>
                    <li>
                        @Html.LabelFor(model => model.IPuser, "IP")
                        @Html.DisplayFor(model => model.IPuser)
                    </li>
                    <li class="toolbar">
                        <label></label>

                        @using (Html.BeginForm())
                        {
                            <p>
                                <input type="submit" value="Delete" class="button_sm" />
                                |
                                @Html.ActionLink("Back to List", "Index")
                            </p>
                        }
                    </li>
                </ul>
            </fieldset>

        </div>
        <!--end idTrangChuTren1-->

    </div>
</div>
<!--end mar10-->

